#include "config.h"

Config::Config(QWidget *parent) : QWidget(parent)
{
    QSize size(200, 200);
    this->setPalette(Qt::white);
    this->setAutoFillBackground(true);
    this->setMinimumSize(size);
//    this->setMaximumSize(size);

    info = new QLabel();
    info->setText("Zone de configuration");

    layoutConfig = new QVBoxLayout();
    layoutConfig->addWidget(info);

    this->setLayout(layoutConfig);
}

void Config::closeEvent(QCloseEvent *event)
// On envoi un signal lors de la fermeture de la fenetre
{
    emit closed();
}
